Optimal. Leaf size=70 \[ \frac {b^4 x}{a^5}-\frac {b^3 x^2}{2 a^4}+\frac {b^2 x^3}{3 a^3}-\frac {b x^4}{4 a^2}+\frac {x^5}{5 a}-\frac {b^5 \log (b+a x)}{a^6} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {269, 45}
\begin {gather*} -\frac {b^5 \log (a x+b)}{a^6}+\frac {b^4 x}{a^5}-\frac {b^3 x^2}{2 a^4}+\frac {b^2 x^3}{3 a^3}-\frac {b x^4}{4 a^2}+\frac {x^5}{5 a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 269
Rubi steps
\begin {align*} \int \frac {x^4}{a+\frac {b}{x}} \, dx &=\int \frac {x^5}{b+a x} \, dx\\ &=\int \left (\frac {b^4}{a^5}-\frac {b^3 x}{a^4}+\frac {b^2 x^2}{a^3}-\frac {b x^3}{a^2}+\frac {x^4}{a}-\frac {b^5}{a^5 (b+a x)}\right ) \, dx\\ &=\frac {b^4 x}{a^5}-\frac {b^3 x^2}{2 a^4}+\frac {b^2 x^3}{3 a^3}-\frac {b x^4}{4 a^2}+\frac {x^5}{5 a}-\frac {b^5 \log (b+a x)}{a^6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 70, normalized size = 1.00 \begin {gather*} \frac {b^4 x}{a^5}-\frac {b^3 x^2}{2 a^4}+\frac {b^2 x^3}{3 a^3}-\frac {b x^4}{4 a^2}+\frac {x^5}{5 a}-\frac {b^5 \log (b+a x)}{a^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 63, normalized size = 0.90
method | result | size |
default | \(\frac {\frac {1}{5} a^{4} x^{5}-\frac {1}{4} a^{3} b \,x^{4}+\frac {1}{3} a^{2} b^{2} x^{3}-\frac {1}{2} a \,b^{3} x^{2}+b^{4} x}{a^{5}}-\frac {b^{5} \ln \left (a x +b \right )}{a^{6}}\) | \(63\) |
norman | \(\frac {b^{4} x}{a^{5}}-\frac {b^{3} x^{2}}{2 a^{4}}+\frac {b^{2} x^{3}}{3 a^{3}}-\frac {b \,x^{4}}{4 a^{2}}+\frac {x^{5}}{5 a}-\frac {b^{5} \ln \left (a x +b \right )}{a^{6}}\) | \(63\) |
risch | \(\frac {b^{4} x}{a^{5}}-\frac {b^{3} x^{2}}{2 a^{4}}+\frac {b^{2} x^{3}}{3 a^{3}}-\frac {b \,x^{4}}{4 a^{2}}+\frac {x^{5}}{5 a}-\frac {b^{5} \ln \left (a x +b \right )}{a^{6}}\) | \(63\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.31, size = 64, normalized size = 0.91 \begin {gather*} -\frac {b^{5} \log \left (a x + b\right )}{a^{6}} + \frac {12 \, a^{4} x^{5} - 15 \, a^{3} b x^{4} + 20 \, a^{2} b^{2} x^{3} - 30 \, a b^{3} x^{2} + 60 \, b^{4} x}{60 \, a^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 63, normalized size = 0.90 \begin {gather*} \frac {12 \, a^{5} x^{5} - 15 \, a^{4} b x^{4} + 20 \, a^{3} b^{2} x^{3} - 30 \, a^{2} b^{3} x^{2} + 60 \, a b^{4} x - 60 \, b^{5} \log \left (a x + b\right )}{60 \, a^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 61, normalized size = 0.87 \begin {gather*} \frac {x^{5}}{5 a} - \frac {b x^{4}}{4 a^{2}} + \frac {b^{2} x^{3}}{3 a^{3}} - \frac {b^{3} x^{2}}{2 a^{4}} + \frac {b^{4} x}{a^{5}} - \frac {b^{5} \log {\left (a x + b \right )}}{a^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.46, size = 65, normalized size = 0.93 \begin {gather*} -\frac {b^{5} \log \left ({\left | a x + b \right |}\right )}{a^{6}} + \frac {12 \, a^{4} x^{5} - 15 \, a^{3} b x^{4} + 20 \, a^{2} b^{2} x^{3} - 30 \, a b^{3} x^{2} + 60 \, b^{4} x}{60 \, a^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.04, size = 62, normalized size = 0.89 \begin {gather*} \frac {x^5}{5\,a}-\frac {b^5\,\ln \left (b+a\,x\right )}{a^6}-\frac {b\,x^4}{4\,a^2}+\frac {b^4\,x}{a^5}+\frac {b^2\,x^3}{3\,a^3}-\frac {b^3\,x^2}{2\,a^4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________